package com.xin.di.uav.applet.service;

import com.xin.di.uav.applet.request.GoodsAddParam;
import com.xin.di.uav.applet.request.GoodsEditParam;
import com.xin.di.uav.applet.request.ServiceAreaAddParam;
import com.xin.di.uav.applet.request.ServiceAreaEditParam;
import com.xin.di.uav.applet.resp.ProductResp;
import com.xin.di.uav.common.request.common.IdRequest;
import com.xin.di.uav.operate.po.ServiceAreaPO;
import com.xin.di.uav.user.order.po.Product;


public interface GoodsService {
    boolean add(GoodsAddParam goodsAddParam);

    boolean delete(String id);

    boolean update(GoodsEditParam goodsEditParam);

    boolean updateStatus(IdRequest idRequest);

    Product getById(String id);

    ProductResp list(int pageNum, int pageSize, String name);

}
